package com.pomelo.kill.service;

import com.pomelo.kill.exception.KillException;
import com.pomelo.kill.model.Car;

import java.util.List;

public interface CarService{

    int deleteByPrimaryKey(Integer id);

    int insert(Car record);

    int insertSelective(Car record);

    Car selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Car record);

    int updateByPrimaryKey(Car record);

    int addToCar(Car record) throws KillException;

    List<Car> selectBuUid(Integer uid);
}
